package com.toraeve.asktora.daoimpl.mapper;

import java.util.List;

import com.toraeve.asktora.domain.entity.ToraUser;

public interface UserMapper {

	ToraUser getUserByEmail(String userEmail);

	void addUser(ToraUser newUser);

	void updateUser(ToraUser user);

	List<String> getUserRoles(String userEmail);

	void addUserRoleMapping(String userEmail, String roleName);

	void deleteUserAllRoleMapping(String userEmail);
	
	void markUserDeleted(String userEmail);
}
